package ender.threads
{
	// TODO: can't call yield(), we need to subclass something
	public class BasicRunnable implements IRunnable
	{
		public var count:int = 0;
		
		public function run():void {
			// increment
			count++;

			// yield to other threads
			Thread.yield();
		}
	}
}